#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sdk.HCNetSDK import *
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
import os
import time
from files.StreamAnalyze import StreamAnalyze


def test():
    sdk = HCNetSDK()
    a = 'aa'
    b = 'bb'
    _test(sdk,a=a,b=b)


def test1(a,b=1):
    print a
    print b

if __name__ == '__main__':
    test = Test_Judiciary()
    test.setup_class()
    try:
        # test.test_netsdk_inquest_set_pip_status_cfg_v30()  # 不支持
        test.test_netsdk_inquest_set_pip_status_cfg_v40()  # pass
        test.test_netsdk_inquest_set_system_info()  # pass

        test.test_netsdk_set_InquestStartCDW_V30()  # 需要本地开启预览配合
        test.test_netsdk_inquest_send_message()  # pass
        # test.test_netsdk_inquest_get_cdrw_state_cfg()  # 无法测试，需要本地开启预览配合，且无设备支持
        test.test_netsdk_inquest_check_secret_key()  # pass
        test.test_netsdk_inquest_set_sdk_secret_key()  # pass

    finally:
        test.teardown_class()
